/**
  ******************************************************************************
* @file				iic_oled.h
* @Software			MDK V5
* @Target 			CW32F030
* @author			ou_teki
* @encoding			UTF-8
* @date				2024-0420
  ******************************************************************************
  */
#ifndef		__IIC_OLED_H__
#define		__IIC_OLED_H__


#ifdef __cplusplus
extern "C" {
#endif

/* Files include */
#include "stdint.h"
#include "stdbool.h"
#include "stdlib.h"
#include "string.h"
#include "stdio.h"

#include "cw32f030_rcc.h"
#include "cw32f030_gpio.h"
#include "cw32f030_i2c.h"

#include "u8g2.h"
// #include "u8x8.h"


uint8_t OLED_IIC_Init(void);

 
uint8_t OLED_U8G2_Init(u8g2_t *p_u8g2);
uint8_t draw(u8g2_t *p_u8g2);

void PrintVarFormat(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, const uint8_t *font, short var);


#ifdef __cplusplus
}
#endif

#endif /* __IIC_OLED_H__ */
/*lint -restore */
